package com.xdap.common.pojo.dto.webhook;


import lombok.Data;

import java.util.List;
import java.util.Map;


/**
 * @BelongsProject: com.xdap.cyms.orgUser.dto.webhook
 * @Author: liuyang
 * @CreateTime: 2022/9/2 16:15
 * @Description:webhook返回业务类（具体字段需要根据webHook文档接收）
 * @Version: 1.0
 */
@Data
public class BusinessDataDto {

    /**
     * 表单主键
     */
    private String formId;
    /**
     * 业务数据的id
     */
    private String documentId;
    private String menuId;
    private String processId;
    private String rowId;
    private String taskId;
    private String comment;
    private String reassignUser;
    private List<String> reassignUsers;
    private Map<String, Object> data;
    private Map<String, Object> systemData;
    private Map<String, List<Map<String, Object>>> tableData;
    private String status;
    private Boolean haveProcess;
    private String createdBy;
    private List<UpdateTrigger> updateTriggerList;
    private boolean submitFlag = false;
    private boolean saveFlag = true;
    private boolean completedFlag = false;
    private Map<String, Object> beforeDataBaseData;
    private Map<String, String> modelCodeToRowId;
    private Boolean skipFlag = false;
    private String currentApprover;
    private boolean modelFlag;
    private Map<String, Object> dataChange;
    private Map<String, Map<String, Map<String, Object>>> tableDataChange;
    private String logType;
    private String editUrlAfterShareAndSubmit;
    private String shareId;
    private String buttonCode;
    private String buttonName;
    private Boolean isDifferentParallelFlow = false;
    private String operationType;
    private String triggerMessageType;
    private Map<String, List<String>> deletedTableData;
    private String currentProcessNodeId;
    private String elecSignData;
    private ApproveCommentConfig approveCommentConfig;
}
